<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Login extends CI_Controller {

	function __construct()
	{
		parent::__construct();
	}

	function index()
	{
		// If session has been set, go to private area
		if ($this->session->userdata('logged_in') != FALSE)
		{
			redirect('tdc', 'refresh');
		}
		
		$this->load->helper(array('form', 'url'));
		$this->load->view('login');
	}

}

?>